#pragma once

struct segment
{
	segment (double x1_, double y1_, double x2_, double y2_);
	double x1, y1, x2, y2;
};

bool has_intersection(segment const& s1, segment const& s2);